﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;

namespace Thor.Domain
{
    public class AppointmentRequest
    {
        /// <summary>
        /// The id of the calendar the appointment request
        /// is for.
        /// </summary>
        public string CalendarId { get; set; }

        /// <summary>
        /// The credentials to use to make the request.
        /// </summary>
        public NetworkCredential Credential { get; set; }

        /// <summary>
        /// The appointment's start time.
        /// </summary>
        public DateTime StartTime { get; set; }

        /// <summary>
        /// The appointment's end time.
        /// </summary>
        public DateTime EndTime { get; set; }

        /// <summary>
        /// The subejct of the appointment.
        /// </summary>
        public string Subject { get; set; }

        /// <summary>
        /// Whether or not to ignore busy data when booking the appointment.
        /// </summary>
        public bool IgnoreBusyData { get; set; }

        /// <summary>
        /// Url of the service providing calendar data.
        /// </summary>
        public string ServiceUrl { get; set; }

        /// <summary>
        /// Whether or not to use a booking agent to book the appointment.
        /// </summary>
        public bool UseBookingAgent { get; set; }

        /// <summary>
        /// Email address of the booking agent.
        /// </summary>
        public string BookingAgentEmail { get; set; }
    }
}
